﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using T.FAS.Runtime.Metadata.Entity.DataModel;

namespace T.FAS.Runtime.DataAccess.SPI
{
    /// <summary>
    /// 领域模型管理接口
    /// </summary>
    public interface ICompositeDataObjectManager
    {
        /// <summary>
        /// 获取领域对象
        /// </summary>
        /// <param name="id">领域对象ID</param>
        /// <returns>领域对象</returns>
        CompositeDataObject GetCompositeDataObject(string id); 

        /// <summary>
        /// 获取领域对象
        /// </summary>
        /// <param name="id">领域对象ID</param>
        /// <returns>领域对象</returns>
        List<CompositeDataObject> GetCompositeDataObjects();
    }
}
